package cn.stylefeng.guns.modular.business.frequency.orderpickassigndriver.model.param;

import cn.stylefeng.guns.core.pojo.base.param.BaseParam;

import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * tt_order_pick_assign_driver
 *
 * @author yujie
 * @date 2023/05/09 17:16
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class OrderPickAssignDriverParam extends BaseParam {

    /**
     * id
     */
    @NotNull(message = "id不能为空",groups = {edit.class})
    private Long id;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 操作人
     */
    private Long createUser;

    /**
     * update_time
     */
    private Date updateTime;

    /**
     * update_user
     */
    private Long updateUser;

    /**
     * 订单id
     */
    @NotNull(message = "订单id不能为空",groups = {add.class,edit.class})
    private Long orderId;

    /**
     * 供应商ID
     */
    @NotNull(message = "供应商ID不能为空",groups = {add.class,edit.class})
    private Long supplierId;

    /**
     * 供应商结算人ID
     */
    @NotNull(message = "供应商结算人ID不能为空",groups = {add.class,edit.class})
    private Long supplierDriverId;

}
